/********* detail页面head *********/

.template-detail-head {
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 20px;
    padding-top: 20px;
    padding-left: 30px;
    height: 140px;
}

.template-detail-head-img {
    float: left;
    height: 100px;
    min-width: 100px;
    display: table-cell;
    margin: auto;
    vertical-align: middle;
    background-color: #dcdcdc;
}

.template-detail-head-img img {
    display: block;
    height: 100px;
    margin: 0 auto;
    max-width: 100% !important;
    vertical-align: middle;
}

.template-detail-head-title {
    margin-left: 20px;
    float: left;
    height: 100%;
    top: 25px;
    position: relative;
}

.template-detail-head-name {
    color: #666666;
    font-size: 14px;
}

.template-detail-head-category{
    color: #999999;
    font-size: 14px;
    margin-top:10px;
}

/*********  tab margin ************/

.nav-tabs {
    margin-left: -30px;
    padding-left: 30px;
}


/*********  表意元素样式  ************/
.tooltip-inner {
    border: 1px solid black;
    color: #000;
    background-color: #FFF7EC;
}

#search-area {
    margin-top: 30px;
    height: 30px;
}

.element-result-container {
    height: auto;
    min-height: 450px;
    padding-right: 0;
    padding-left: 0;
}

.element-group-each {
    border-bottom: 1px solid #e4e4e4;
    height: auto;
    overflow: hidden;
}

.element-group-each-child {
    margin-top: 30px;
}

.element-group-style {
    height: 20px;
    margin-bottom: 20px;
}

.element-group-style-title {
    float: left;
    width: 200px;
    font-size: 14px;
    color: #707887;
    font-weight: bold;
}

.element-color-select {
    float: right;
    width: 164px;
}

.element-color-select-title {
    float: left;
    line-height: 20px;
}

.element-color-select ul {
    float: right;
    right: 0px;
    margin-top: 4px;
}

.element-color-select ul li {
    float: left;
    margin-left: 6px;
    width: 18px;
}

.circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.circle.active,.circle:hover {
    width: 16px;
    height: 16px;
    top: -2px;
    position: relative;
}

.circle-white {
    border: #C7C7C7 solid 2px;
}

.circle-gold {
    background-color: #AF885D;
}

.circle-red {
    background-color: #D01A4B;
}

.circle-black {
    background-color: #333333;
}

.circle-gray {
    background-color: #C7C7C7;
}

.element-img-container {
    height: auto !important;
    list-style: none outside none;
    overflow: auto;
    zoom: 1;
}

.element-img-container ul li {
    float: left;
    border: 1px solid #b9c3cd;
    margin-right: 10px;
    margin-bottom: 20px;
}

.element-img-container ul  .can {
    cursor: pointer;
}

.element-img-container ul  .notallow {
    cursor: not-allowed;
}

.default-i{
    border: 1px solid #dcdcdc !important;
}

.element-img-div {
    width: 80px;
    height: 40px;
    background-color: #f6f6f6;
    display: table-cell;
    vertical-align: middle;
    margin: auto;
}

.element-font-div {
    width: 80px;
    height: 40px;
    font-size: 14px;
    text-align: center;
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*display: -webkit-box;*/
    /*-webkit-line-clamp: 1;*/
    /*-webkit-box-orient: vertical;*/
    color:#999;
    background-color: #f6f6f6;
    margin: auto;
}

.element-img-container .liImg {
    display: block;
    vertical-align: middle;
    margin: 0 auto;
    max-width: 100%!important;
    height: auto!important;
    width: expression(this.width > 80 ? "80px": this.width)!important;
}

.element-img-unfold {
    height: 24px;
    line-height: 24px;
    background-color: #F4F4F4;
    text-align: center;
    cursor: pointer;
    margin-top: -10px;
}

.element-img-unfold:hover {
    color:#fc7408;
}

.element-group-preview-font {
    margin: 20px 0;
    cursor: pointer;
    width:150px;
}

.element-group-preview-font:hover {
    color: #FD7308;
}


/*********  品牌LOGO  ************/

.element-group-each p {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
}


/*********  font和设计元素  ************/
.dialog-main-bg ul{
    min-height: 300px;
    overflow: auto;
}
.dialog-main-bg ul li{
    float:left;
    cursor: pointer;
    border:2px solid #dcdcdc;
    margin-bottom: 20px;
    margin-right:10px;
}
.dialog-main-bg ul .active {
    border:2px solid #fd9611;
}
.dialog-main-bg ul li div{
    background-color: #f6f6f6;
    display: table-cell;
    height: 100px;
    margin: auto;
    vertical-align: middle;
    width: 150px;
}
.dialog-main-bg ul li img{
    display: block;
    height: auto !important;
    margin: 0 auto;
    max-width: 100% !important;
    vertical-align: middle;
}

.tab3-title {
    padding-top: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dcdcdc;
}

.font-content {
    height: 71px;
    border-bottom: 1px solid #dcdcdc;
}

.font-name {
    width: 405px;
    font-size: 14px;
    color: #666;
    float: left;
    height: 100%;
    line-height: 70px;
}

.design-ele-container {
    padding-top: 30px;
    border-bottom: 1px solid #dcdcdc;
    margin-bottom: 15px;
}

.design-ele-title {
    padding-bottom: 20px;
}

.design-ele-two {
    height: 378px;
}

.design-ele {
    float: left;
    width: 45%
}

.design-ele-main-img,.design-ele-decoration-img{
    height: 280px;
    width: 300px;
    background-color: #e4e4e4;
    display: table-cell;
    margin: auto;
    vertical-align: middle;
}
.bgbk-img {
    display: block;
    height: auto !important;
    margin: 0 auto;
    max-width: 100% !important;
    vertical-align: middle;
}

.add-bgfile-btn {
    position: absolute;
    left: 20px;
}
